#ifndef SRC_GAME_SERVER_H
#define SRC_GAME_SERVER_H

#include "game.h"

Game* game_server_spawn(void);
void game_server_start(Game *server);
void game_server_pause(Game *server);

int game_server_ticks(Game *server);

Game_Entity* game_entity_spawn(Game *server);
Game_Player* game_player_spawn(Game *server);

void game_player_remove(Game *server, int playerIndex);

void game_collide_reponse_entity_entity(Game *server, float ticks, Game_Entity *e1, Game_Entity *e2);
void game_collide_reponse_entity_tilemap(Game *server, float ticks, Game_Entity *e, int xtile, int ytile);

#endif
